//
//  AppDelegate+QLDelegate.m
//  青旅OA
//
//  Created by qlwl on 16/4/22.
//  Copyright © 2016年 qlwl. All rights reserved.
//

#import "AppDelegate+QLDelegate.h"

@implementation AppDelegate (QLDelegate)
+(instancetype)appDelegate
{
    return (AppDelegate *)[[UIApplication sharedApplication] delegate];
}
+(UIWindow *)keyWindow
{
    return [UIApplication sharedApplication].keyWindow;
}
+(UITabBarController *)mainTabBar
{
    return ((AppDelegate *)[[UIApplication sharedApplication] delegate]).tab;
}
@end
